package com.link2room.quintesson.facade;

import com.link2room.common.dto.param.base.BaseParamDto;
import com.link2room.common.jpa.result.QueryResult;
import com.link2room.quintesson.dto.param.manager.TaobaoXrateManagerParamDto;
import com.link2room.quintesson.dto.result.manager.TaobaoXrateDto;

import java.util.List;

/**
 * Created by sss on 2017/4/10.
 */
public interface ITaobaoXrateFacadeService {

    /**
     * 飞猪产品列表
     * @param taobaoXrateManagerParamDto
     * @return
     * @throws Exception
     */
    QueryResult<TaobaoXrateDto> listTaobaoXrate(TaobaoXrateManagerParamDto taobaoXrateManagerParamDto) throws Exception;

    /**
     * 飞猪产品详情
     * @param baseParamDto
     * @return
     * @throws Exception
     */
    TaobaoXrateDto findTaobaoXrate(BaseParamDto baseParamDto) throws Exception;

    List<TaobaoXrateDto> saveOrUpdateTaobaoXrateList(TaobaoXrateManagerParamDto taobaoXrateManagerParamDto) throws Exception;

    TaobaoXrateDto saveOrUpdateTaobaoXrate(TaobaoXrateManagerParamDto taobaoXrateManagerParamDto) throws Exception;

    void upTaobaoXrateList(TaobaoXrateManagerParamDto taobaoXrateManagerParamDto) throws Exception;

    void upTaobaoXrate(TaobaoXrateManagerParamDto taobaoXrateManagerParamDto) throws Exception;

    void upTaobaoXrateIncrementList(TaobaoXrateManagerParamDto taobaoXrateManagerParamDto) throws Exception;

    void upTaobaoXrateIncrement(TaobaoXrateManagerParamDto taobaoXrateManagerParamDto) throws Exception;
}
